<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
   

        .box {
            position: relative;
            width: 202px;
            height: 380px;
           
        }



        .box div{
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            width: 100%;
            transition: all 3s; 
            /* 谁过度谁调用 */

        
        }

        li .tex1 {
            z-index: 1;
            backface-visibility: hidden;
        }
        li .tex2{
            transform: rotateY(180deg);
        }
        li:hover .tex1{
            transform:rotateY(180deg);
        }
        li:hover .tex2{

        transform: rotateY(0deg);
    }
    </style>
</head>

<body>
    
  
        <ul>
            <li>
                <div class="box">
                    <div class="tex1"><img src="./images/1.jpg" alt=""></div>
                    <div class="tex2"><img src="./images/6.jpg" alt=""></div>
                </div>
            </li>
            
        </ul>

</body>

</html>